type UniToastIcon = 'none' |'success' | 'loading' | 'error' | 'fail' | 'exception' | undefined;

// 提示
export const showToast = (title: string, icon: UniToastIcon = 'none') => {
 return uni.showToast({
    title: title,
    icon: icon
  })
}